import request from '@/utils/request'

export default {

  // 前台带条件分页查询课程信息
  getCourseApiPageVo(page, limit, courseQueryVo){
    return request({
      url: `/eduservice/coursefront/getFrontCourseList/${page}/${limit}`,
      method: 'post',
      data: courseQueryVo
    })
  },

  // 根据课程id查询课程详情信息
  getCourseApiInfo (id) {
    return request({
      url: `/eduservice/coursefront/getFrontCourseInfo/${id}`,
      method: 'get'
    })
  },
}

